<!DOCTYPE html>
<html lang="en-US">
    <head>
        <title>Template::Toolkit - Template Processing System - metacpan.org</title>
        <link rel="preload" as="fetch" href="https://metacpan.org/account/login_status" crossorigin="anonymous" />
        <link href="https://metacpan.org/_assets/b8ccceeed47a0652049703d99326a9cea4933443.css" rel="stylesheet" type="text/css">
        <script src="https://metacpan.org/_assets/6bfedafe2d7caa915b7d84f61b45936818e3242e.js" type="text/javascript" defer></script>
        <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of Template-Toolkit - MetaCPAN" href="https://metacpan.org/dist/Template-Toolkit/releases.rss" />
        <link rel="canonical" href="./Template::Toolkit.html" />
        <meta name="description" content="Template Processing System" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
        <link rel="shortcut icon" href="https://metacpan.org/static/icons/favicon.ico">
        <link rel="apple-touch-icon" sizes="152x152" href="https://metacpan.org/static/icons/apple-touch-icon.png">
        <link rel="search" href="https://metacpan.org/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
        <script>
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          (function(skey, ga_id){
            ga('create', ga_id, {
              siteSpeedSampleRate : 100,
              storage             : 'none',
              clientId            : localStorage.getItem(skey)
            });
            ga(function(tracker) {
              localStorage.setItem(skey, tracker.get('clientId'));
            });
            ga('send', 'pageview');
          })('ga:clientId', 'UA-27829474-1');
        </script>
<meta name="twitter:card"        content="summary" />
<meta name="twitter:url"         content="https://metacpan.org/pod/Template::Toolkit" />
<meta name="twitter:title"       content="Template::Toolkit" />
<meta name="twitter:description" content="Template Processing System" />
<meta name="twitter:site"        content="metacpan" />
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="header-logo-large hidden-xs">
              <a href="https://metacpan.org/" tabindex="0">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#logo" />
                </svg>
              </a>
            </div>
            <div class="header-logo-icon visible-xs">
              <a href="https://metacpan.org/">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#dots" />
                </svg>
              </a>
            </div>
            <ul class="nav navbar-nav menu-items hidden-xs hidden-sm">
              <li><a href="https://metacpan.org/about">About</a></li>
              <li><a href="https://metacpan.org/about/sponsors">Sponsor</a></li>
              <li><a href="https://grep.metacpan.org/">grep::cpan</a></li>
              <li><a href="https://metacpan.org/recent">Recent</a></li>
              <li><a href="https://metacpan.org/about/faq">FAQ</a></li>
              <li><a href="https://metacpan.org/tools">Tools</a></li>
              <li><a href="https://fastapi.metacpan.org/">API</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <button type="button" class="searchbar-btn visible-xs visible-sm">
                    <i class="fa fa-search button-fa-icon"></i>
                </button>
                <form action="https://metacpan.org/search" class="searchbar-form visible-md visible-lg search-form form-horizontal">
                   <input type="hidden" name="size" id="metacpan_search-size" value="20">
                  <div class="form-group">
                      <div class="search-group">
                        <i class="fa fa-search"></i>
                        <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value="">
                      </div>
                  </div>
                </form>
                    <li class="icon-slidepanel visible-xs visible-sm">
                      <button data-toggle="slidepanel" data-target=".slidepanel">
                        <span class="button-fa-icon">
                          <i class="fa fa-bars slidepanel-open"></i>
                          <i class="fa fa-times slidepanel-close"></i>
                        </span>
                      </button>
                    </li>
                <form action="https://metacpan.org/account/logout" method="POST" id="metacpan-logout"></form>
                <li class="dropdown logged_in" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="https://metacpan.org/account/identities">Identities</a></li>
                        <li><a href="https://metacpan.org/account/profile">Profile</a></li>
                        <li><a href="https://metacpan.org/account/favorite/list">Favorites</a></li>
                        <li>
                            <a href="./Template::Toolkit.html#" type="button" onclick="$('#metacpan-logout').submit(); return false">
                              Logout
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_out" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="https://metacpan.org/login/github">
                                <i class="fab fa-github fa-fw"></i>
                                GitHub
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/twitter">
                                <i class="fab fa-twitter fa-fw"></i>
                                Twitter
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/google">
                                <i class="fab fa-google fa-fw"></i>
                                Google
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_placeholder">
                    <button>
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                    </button>
                </li>
            </ul>
        </nav>
        <div class="page-content ">
          <!--
          <div class="top-notify-banner">
            <i class="fas fa-info-circle"></i>
          </div>
          -->
          <nav class="sidebar">
            <div class="slidepanel">
              <ul class="nav-list ">
    <li class="nav-header no-margin-top">
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of Template-Toolkit was released.">
      <span class="relatize">16 Aug 2022 07:02:05 UTC</span>
    </li>
  <li>
    Distribution: <a href="https://metacpan.org/dist/Template-Toolkit">Template-Toolkit</a>
  </li>
  <li>
    Module version: 3.100
  </li>
  <li>
    <a data-keyboard-shortcut="g s" href="https://metacpan.org/dist/Template-Toolkit/source/lib/Template/Toolkit.pm">Source</a>
    (<a href="https://metacpan.org/dist/Template-Toolkit/source/lib/Template/Toolkit.pm?raw=1">raw</a>)
  </li>
  <li>
    <a data-keyboard-shortcut="g b" href="https://metacpan.org/dist/Template-Toolkit/source/lib/Template">Browse</a>
    (<a href="https://metacpan.org/dist/Template-Toolkit/source/lib/Template?raw=1">raw</a>)
  </li>
    <li>
      <a data-keyboard-shortcut="g c" href="https://metacpan.org/dist/Template-Toolkit/changes">Changes</a>
    </li>
    <li>
      <a rel="noopener nofollow" class="nopopup" href="http://www.template-toolkit.org">Homepage</a>
    </li>
    <li>
      <a class="nopopup" href="https://metacpan.org/dist/Template-Toolkit/contribute">How to Contribute</a>
    </li>
    <li>
        <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/abw/Template2">Repository</a>
    </li>
    <li>
      <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://github.com/abw/Template2/issues">Issues</a>
      (89)
    </li>
    <li>
      <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=Template-Toolkit+3.101" title="Matrix">Testers</a>
        <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Template-Toolkit.html?oncpan=1&amp;distmat=1&amp;version=3.101&amp;grade=2" style="color: #090">3627</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Template-Toolkit.html?oncpan=1&amp;distmat=1&amp;version=3.101&amp;grade=3" style="color: #900">38</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Template-Toolkit.html?oncpan=1&amp;distmat=1&amp;version=3.101&amp;grade=4">0</a>)</span>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/ABW/Template-Toolkit-3.101">Kwalitee</a>
    </li>
    <li>
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on Template-Toolkit who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)">
      Bus factor: 3
      </div>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpancover.com/latest/Template-Toolkit-3.101/index.html">% Coverage </a>
    </li>
    <li>
      License: perl_5
    </li>
    <li class="nav-header">Activity</li>
    <li>
<div class="activity-graph">
    <img src="https://metacpan.org/dist/Template-Toolkit/activity.svg?res=month" />
    <div class="comment">24 month</div>
</div>
    </li>
    <li class="nav-header">Tools</li>
    <li>
      <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/A/AB/ABW/Template-Toolkit-3.101.tar.gz">
      Download (<span itemprop="fileSize">503.85KB</span>)</a>
    </li>
    <li>
      <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FABW%2FTemplate-Toolkit-3.101%2Flib%2FTemplate%2FToolkit.pm">
        MetaCPAN Explorer
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Template-Toolkit/permissions">
        Permissions
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Template-Toolkit/releases.rss">
        Subscribe to distribution
      </a>
    </li>
    <li>
      <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog">
        Install Instructions
      </button>
    </li>
    <li>
      <form action="https://metacpan.org/search">
        <input type="hidden" name="q" value="dist:Template-Toolkit">
        <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
      </form>
    </li>
    <li>
      <form action="https://grep.metacpan.org/search">
        <input type="hidden" name="qd" value="Template-Toolkit">
        <input type="hidden" name="source" value="metacpan">
        <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
     </form>
    </li>
    <li class="version-jump">
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Template/Toolkit.pm&#39;" class="form-control tool-bar-form">
  <option disabled selected>Jump to version</option>
<option
  disabled
  value="ABW/Template-Toolkit-3.101"
>3.101
  (ABW on 2022-08-16)</option>
<option
  
  value="TODDR/Template-Toolkit-3.100"
>3.100
  (TODDR on 2022-04-26)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.009"
>3.009
  (ATOOMIC on 2020-07-13)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.008"
>3.008
  (ATOOMIC on 2020-03-30)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.007"
>3.007
  (ATOOMIC on 2020-01-27)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.006"
>3.006
  (ATOOMIC on 2020-01-16)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.005"
>3.005
  (ATOOMIC on 2020-01-15)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.004"
>3.004
  (ATOOMIC on 2020-01-13)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.003"
>3.003
  (ATOOMIC on 2019-12-27)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.002"
>3.002
  (ATOOMIC on 2019-12-23)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.001"
>3.001
  (ATOOMIC on 2019-12-23)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.000"
>3.000
  (ATOOMIC on 2019-12-23)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-2.29"
>2.29
  (ATOOMIC on 2019-04-29)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-2.28"
>2.28
  (ATOOMIC on 2018-10-11)</option>
<option
  
  value="ABW/Template-Toolkit-2.27"
>2.27
  (ABW on 2017-04-15)</option>
<option
  
  value="ABW/Template-Toolkit-2.26"
>2.26
  (ABW on 2014-09-17)</option>
<option
  
  value="ABW/Template-Toolkit-2.25"
>2.25
  (ABW on 2013-07-24)</option>
<option
  
  value="ABW/Template-Toolkit-2.24"
>2.24
  (ABW on 2012-02-08)</option>
<option
  
  value="ABW/Template-Toolkit-2.23"
>2.23
  (ABW on 2012-01-21)</option>
<option
  
  value="ABW/Template-Toolkit-2.22"
>2.22
  (ABW on 2009-07-21)</option>
<option
  
  value="ABW/Template-Toolkit-2.21_02"
>2.21_02 DEV
  (ABW on 2009-07-04)</option>
<option
  
  value="ABW/Template-Toolkit-2.21_01"
>2.21_01 DEV
  (ABW on 2009-07-04)</option>
<option
  
  value="ABW/Template-Toolkit-2.21"
>2.21
  (ABW on 2009-06-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_4"
>2.20_4 DEV
  (ABW on 2009-05-21)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_3"
>2.20_3 DEV
  (ABW on 2009-05-20)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_2"
>2.20_2 DEV
  (ABW on 2009-05-17)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_1"
>2.20_1 DEV
  (ABW on 2009-04-07)</option>
<option
  
  value="ABW/Template-Toolkit-2.20"
>2.20
  (ABW on 2008-08-13)</option>
<option
  
  value="ABW/Template-Toolkit-2.00"
>2.00
  (ABW on 2000-12-06)</option>
<option
  
  value="ABW/Template-Toolkit-1.07"
>1.07
  (ABW on 2000-06-16)</option>
<optgroup label="BackPAN">'
<option
  
  value="ATOOMIC/Template-Toolkit-3.010"
>3.010
  (ATOOMIC on 2021-12-13)</option>
<option
  
  value="ABW/Template-Toolkit-2.19_03"
>2.19_03 DEV
  (ABW on 2008-08-12)</option>
<option
  
  value="ABW/Template-Toolkit-2.19_02"
>2.19_02 DEV
  (ABW on 2008-08-08)</option>
<option
  
  value="ABW/Template-Toolkit-2.19_01"
>2.19_01 DEV
  (ABW on 2008-08-07)</option>
<option
  
  value="ABW/Template-Toolkit-2.19"
>2.19
  (ABW on 2007-04-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.18"
>2.18
  (ABW on 2007-02-09)</option>
<option
  
  value="ADAMK/Template-Toolkit-2.17"
>2.17
  (ADAMK on 2007-02-08)</option>
<option
  
  value="ADAMK/Template-Toolkit-2.16"
>2.16
  (ADAMK on 2007-01-23)</option>
<option
  
  value="ABW/Template-Toolkit-2.15"
>2.15
  (ABW on 2006-05-26)</option>
<option
  
  value="ABW/Template-Toolkit-2.14"
>2.14
  (ABW on 2004-10-04)</option>
<option
  
  value="ABW/Template-Toolkit-2.13"
>2.13
  (ABW on 2004-01-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.12"
>2.12
  (ABW on 2004-01-12)</option>
<option
  
  value="ABW/Template-Toolkit-2.11"
>2.11
  (ABW on 2004-01-06)</option>
<option
  
  value="ABW/Template-Toolkit-2.10"
>2.10
  (ABW on 2003-07-24)</option>
<option
  
  value="ABW/Template-Toolkit-2.09"
>2.09
  (ABW on 2003-04-23)</option>
<option
  
  value="ABW/Template-Toolkit-2.08"
>2.08
  (ABW on 2002-07-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.07"
>2.07
  (ABW on 2002-04-17)</option>
<option
  
  value="ABW/Template-Toolkit-2.06d"
>2.06d
  (ABW on 2002-01-22)</option>
<option
  
  value="ABW/Template-Toolkit-2.06"
>2.06
  (ABW on 2001-11-07)</option>
<option
  
  value="ABW/Template-Toolkit-2.04"
>2.04
  (ABW on 2001-06-29)</option>
<option
  
  value="ABW/Template-Toolkit-2.03"
>2.03
  (ABW on 2001-06-15)</option>
<option
  
  value="ABW/Template-Toolkit-2.01"
>2.01
  (ABW on 2001-03-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.00-beta5"
>2.00-beta5
  (ABW on 2000-09-14)</option>
<option
  
  value="ABW/Template-Toolkit-2.00-beta4"
>2.00-beta4
  (ABW on 2000-09-12)</option>
<option
  
  value="ABW/Template-Toolkit-1.06"
>1.06
  (ABW on 2000-03-28)</option>
<option
  
  value="ABW/Template-Toolkit-1.05"
>1.05
  (ABW on 2000-03-20)</option>
<option
  
  value="ABW/Template-Toolkit-1.04"
>1.04
  (ABW on 2000-03-02)</option>
<option
  
  value="ABW/Template-Toolkit-1.03"
>1.03
  (ABW on 2000-02-01)</option>
<option
  
  value="ABW/Template-Toolkit-1.02"
>1.02
  (ABW on 1999-12-21)</option>
<option
  
  value="ABW/Template-Toolkit-1.00"
>1.00
  (ABW on 1999-12-02)</option>
<option
  
  value="ABW/Template-Toolkit-0.28"
>0.28
  (ABW on 1999-11-05)</option>
<option
  
  value="ABW/Template-Toolkit-0.27"
>0.27
  (ABW on 1999-10-01)</option>
<option
  
  value="ABW/Template-Toolkit-0.26"
>0.26
  (ABW on 1999-09-15)</option>
<option
  
  value="ABW/Template-Toolkit-0.25"
>0.25
  (ABW on 1999-08-16)</option>
<option
  
  value="ABW/Template-Toolkit-0.24"
>0.24
  (ABW on 1999-08-12)</option>
<option
  
  value="ABW/Template-Toolkit-0.23"
>0.23
  (ABW on 1999-08-10)</option>
<option
  
  value="ABW/Template-Toolkit-0.22"
>0.22
  (ABW on 1999-08-06)</option>
</optgroup>
</select>
    </li>
    <li class="version-diff">
<select onchange="document.location.href='/release/ABW/Template-Toolkit-3.101/diff/' + encodeURIComponent(this.value) + '/lib/Template/Toolkit.pm'
" class="form-control tool-bar-form">
  <option disabled selected>Diff with version</option>
<option
  disabled
  value="ABW/Template-Toolkit-3.101"
>3.101
  (ABW on 2022-08-16)</option>
<option
  
  value="TODDR/Template-Toolkit-3.100"
>3.100
  (TODDR on 2022-04-26)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.009"
>3.009
  (ATOOMIC on 2020-07-13)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.008"
>3.008
  (ATOOMIC on 2020-03-30)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.007"
>3.007
  (ATOOMIC on 2020-01-27)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.006"
>3.006
  (ATOOMIC on 2020-01-16)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.005"
>3.005
  (ATOOMIC on 2020-01-15)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.004"
>3.004
  (ATOOMIC on 2020-01-13)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.003"
>3.003
  (ATOOMIC on 2019-12-27)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.002"
>3.002
  (ATOOMIC on 2019-12-23)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.001"
>3.001
  (ATOOMIC on 2019-12-23)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.000"
>3.000
  (ATOOMIC on 2019-12-23)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-2.29"
>2.29
  (ATOOMIC on 2019-04-29)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-2.28"
>2.28
  (ATOOMIC on 2018-10-11)</option>
<option
  
  value="ABW/Template-Toolkit-2.27"
>2.27
  (ABW on 2017-04-15)</option>
<option
  
  value="ABW/Template-Toolkit-2.26"
>2.26
  (ABW on 2014-09-17)</option>
<option
  
  value="ABW/Template-Toolkit-2.25"
>2.25
  (ABW on 2013-07-24)</option>
<option
  
  value="ABW/Template-Toolkit-2.24"
>2.24
  (ABW on 2012-02-08)</option>
<option
  
  value="ABW/Template-Toolkit-2.23"
>2.23
  (ABW on 2012-01-21)</option>
<option
  
  value="ABW/Template-Toolkit-2.22"
>2.22
  (ABW on 2009-07-21)</option>
<option
  
  value="ABW/Template-Toolkit-2.21_02"
>2.21_02 DEV
  (ABW on 2009-07-04)</option>
<option
  
  value="ABW/Template-Toolkit-2.21_01"
>2.21_01 DEV
  (ABW on 2009-07-04)</option>
<option
  
  value="ABW/Template-Toolkit-2.21"
>2.21
  (ABW on 2009-06-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_4"
>2.20_4 DEV
  (ABW on 2009-05-21)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_3"
>2.20_3 DEV
  (ABW on 2009-05-20)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_2"
>2.20_2 DEV
  (ABW on 2009-05-17)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_1"
>2.20_1 DEV
  (ABW on 2009-04-07)</option>
<option
  
  value="ABW/Template-Toolkit-2.20"
>2.20
  (ABW on 2008-08-13)</option>
<option
  
  value="ABW/Template-Toolkit-2.00"
>2.00
  (ABW on 2000-12-06)</option>
<option
  
  value="ABW/Template-Toolkit-1.07"
>1.07
  (ABW on 2000-06-16)</option>
<optgroup label="BackPAN">'
<option
  
  value="ATOOMIC/Template-Toolkit-3.010"
>3.010
  (ATOOMIC on 2021-12-13)</option>
<option
  
  value="ABW/Template-Toolkit-2.19_03"
>2.19_03 DEV
  (ABW on 2008-08-12)</option>
<option
  
  value="ABW/Template-Toolkit-2.19_02"
>2.19_02 DEV
  (ABW on 2008-08-08)</option>
<option
  
  value="ABW/Template-Toolkit-2.19_01"
>2.19_01 DEV
  (ABW on 2008-08-07)</option>
<option
  
  value="ABW/Template-Toolkit-2.19"
>2.19
  (ABW on 2007-04-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.18"
>2.18
  (ABW on 2007-02-09)</option>
<option
  
  value="ADAMK/Template-Toolkit-2.17"
>2.17
  (ADAMK on 2007-02-08)</option>
<option
  
  value="ADAMK/Template-Toolkit-2.16"
>2.16
  (ADAMK on 2007-01-23)</option>
<option
  
  value="ABW/Template-Toolkit-2.15"
>2.15
  (ABW on 2006-05-26)</option>
<option
  
  value="ABW/Template-Toolkit-2.14"
>2.14
  (ABW on 2004-10-04)</option>
<option
  
  value="ABW/Template-Toolkit-2.13"
>2.13
  (ABW on 2004-01-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.12"
>2.12
  (ABW on 2004-01-12)</option>
<option
  
  value="ABW/Template-Toolkit-2.11"
>2.11
  (ABW on 2004-01-06)</option>
<option
  
  value="ABW/Template-Toolkit-2.10"
>2.10
  (ABW on 2003-07-24)</option>
<option
  
  value="ABW/Template-Toolkit-2.09"
>2.09
  (ABW on 2003-04-23)</option>
<option
  
  value="ABW/Template-Toolkit-2.08"
>2.08
  (ABW on 2002-07-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.07"
>2.07
  (ABW on 2002-04-17)</option>
<option
  
  value="ABW/Template-Toolkit-2.06d"
>2.06d
  (ABW on 2002-01-22)</option>
<option
  
  value="ABW/Template-Toolkit-2.06"
>2.06
  (ABW on 2001-11-07)</option>
<option
  
  value="ABW/Template-Toolkit-2.04"
>2.04
  (ABW on 2001-06-29)</option>
<option
  
  value="ABW/Template-Toolkit-2.03"
>2.03
  (ABW on 2001-06-15)</option>
<option
  
  value="ABW/Template-Toolkit-2.01"
>2.01
  (ABW on 2001-03-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.00-beta5"
>2.00-beta5
  (ABW on 2000-09-14)</option>
<option
  
  value="ABW/Template-Toolkit-2.00-beta4"
>2.00-beta4
  (ABW on 2000-09-12)</option>
<option
  
  value="ABW/Template-Toolkit-1.06"
>1.06
  (ABW on 2000-03-28)</option>
<option
  
  value="ABW/Template-Toolkit-1.05"
>1.05
  (ABW on 2000-03-20)</option>
<option
  
  value="ABW/Template-Toolkit-1.04"
>1.04
  (ABW on 2000-03-02)</option>
<option
  
  value="ABW/Template-Toolkit-1.03"
>1.03
  (ABW on 2000-02-01)</option>
<option
  
  value="ABW/Template-Toolkit-1.02"
>1.02
  (ABW on 1999-12-21)</option>
<option
  
  value="ABW/Template-Toolkit-1.00"
>1.00
  (ABW on 1999-12-02)</option>
<option
  
  value="ABW/Template-Toolkit-0.28"
>0.28
  (ABW on 1999-11-05)</option>
<option
  
  value="ABW/Template-Toolkit-0.27"
>0.27
  (ABW on 1999-10-01)</option>
<option
  
  value="ABW/Template-Toolkit-0.26"
>0.26
  (ABW on 1999-09-15)</option>
<option
  
  value="ABW/Template-Toolkit-0.25"
>0.25
  (ABW on 1999-08-16)</option>
<option
  
  value="ABW/Template-Toolkit-0.24"
>0.24
  (ABW on 1999-08-12)</option>
<option
  
  value="ABW/Template-Toolkit-0.23"
>0.23
  (ABW on 1999-08-10)</option>
<option
  
  value="ABW/Template-Toolkit-0.22"
>0.22
  (ABW on 1999-08-06)</option>
</optgroup>
</select>
    </li>

    <li>
<ul class="dependencies">
  <li class="nav-header">Dependencies</li>
  <li><i class="ttip" title="dynamic_config enabled">unknown</i></li>
  <li>
    <hr>
  </li>
  <li>
    <a href="https://metacpan.org/module/Template::Toolkit/requires">Reverse dependencies</a>
  </li>
  <li>
    <a href="http://deps.cpantesters.org/?module=Template%3A%3AToolkit">CPAN Testers List</a>
  </li>
  <li>
    <a href="https://cpandeps.grinnz.com/?dist=Template-Toolkit">Dependency graph</a>
  </li>
</ul>
    </li>
    <li class="nav-header">Permalinks</li>
    <li>
      <a href="https://metacpan.org/release/ABW/Template-Toolkit-3.101/view/lib/Template/Toolkit.pm">This version</a>
    </li>
    <li>
      <a href="./Template::Toolkit.html">Latest version</a>
    </li>
    <li>
<div class="plussers">
<div class="nav-header">++ed by:</div>
<div>
<a class="display-all" href="https://metacpan.org/author/ECARROLL"><img src="https://www.gravatar.com/avatar/5cac64b33d070e3736a62bbc2b4bdba4?d=identicon&amp;s=20" title="ECARROLL" alt="ECARROLL"></a>
<a class="display-all" href="https://metacpan.org/author/JWANG"><img src="https://www.gravatar.com/avatar/61d1e2eb0f8968080067151a9a9b5fe0?d=identicon&amp;s=20" title="JWANG" alt="JWANG"></a>
<a class="display-all" href="https://metacpan.org/author/GARU"><img src="https://www.gravatar.com/avatar/14c751a7de307f3f50a2cb67b38a6796?d=identicon&amp;s=20" title="GARU" alt="GARU"></a>
<a class="display-all" href="https://metacpan.org/author/TEEJAY"><img src="https://www.gravatar.com/avatar/1fdcfca4c68559a8b7ab2aabd7c10e70?d=identicon&amp;s=20" title="TEEJAY" alt="TEEJAY"></a>
<a class="display-all" href="https://metacpan.org/author/PHIPSTER"><img src="https://www.gravatar.com/avatar/06bb32ae5d904656d37036e271849751?d=identicon&amp;s=20" title="PHIPSTER" alt="PHIPSTER"></a>
</div>
<!-- Display counts of plussers-->
<div>
    <a href="https://metacpan.org/dist/Template-Toolkit/plussers">74 PAUSE users</a>
</div>
<div>
    70 non-PAUSE users
</div>
</div>
    </li>
    <li>
<div id="metacpan_contributors">
  <div>
    <button class="btn-link"
      onclick="$(this).hide(); $('#metacpan_contributors ul').slideDown(); return false;"
    >and 1 contributors</button>
  </div>
  <ul style="display: none">
    <li class="contributor"
      data-contrib-email="abw@wardley.org"
    >
      <img class="gravatar" width="20" height="20" src="https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=identicon&amp;s=20" />
      Andy Wardley
    </li>
  </ul>
</div>
    </li>
              </ul>
            </div>
          </nav>
          <div class="content-navigation">
<div class="breadcrumbs">
  <span>
    <a data-keyboard-shortcut="g a" rel="author" href="https://metacpan.org/author/ABW" class="author-name">Andy Wardley</a>
  </span>
  <span>&nbsp;/&nbsp;</span>
  <div class="release dist-release status-latest maturity-released">
    <span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Template/Toolkit.pm&#39;" class="">
<option
  selected
  value="ABW/Template-Toolkit-3.101"
>3.101
  (ABW on 2022-08-16)</option>
<option
  
  value="TODDR/Template-Toolkit-3.100"
>3.100
  (TODDR on 2022-04-26)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.009"
>3.009
  (ATOOMIC on 2020-07-13)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.008"
>3.008
  (ATOOMIC on 2020-03-30)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.007"
>3.007
  (ATOOMIC on 2020-01-27)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.006"
>3.006
  (ATOOMIC on 2020-01-16)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.005"
>3.005
  (ATOOMIC on 2020-01-15)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.004"
>3.004
  (ATOOMIC on 2020-01-13)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.003"
>3.003
  (ATOOMIC on 2019-12-27)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.002"
>3.002
  (ATOOMIC on 2019-12-23)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.001"
>3.001
  (ATOOMIC on 2019-12-23)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-3.000"
>3.000
  (ATOOMIC on 2019-12-23)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-2.29"
>2.29
  (ATOOMIC on 2019-04-29)</option>
<option
  
  value="ATOOMIC/Template-Toolkit-2.28"
>2.28
  (ATOOMIC on 2018-10-11)</option>
<option
  
  value="ABW/Template-Toolkit-2.27"
>2.27
  (ABW on 2017-04-15)</option>
<option
  
  value="ABW/Template-Toolkit-2.26"
>2.26
  (ABW on 2014-09-17)</option>
<option
  
  value="ABW/Template-Toolkit-2.25"
>2.25
  (ABW on 2013-07-24)</option>
<option
  
  value="ABW/Template-Toolkit-2.24"
>2.24
  (ABW on 2012-02-08)</option>
<option
  
  value="ABW/Template-Toolkit-2.23"
>2.23
  (ABW on 2012-01-21)</option>
<option
  
  value="ABW/Template-Toolkit-2.22"
>2.22
  (ABW on 2009-07-21)</option>
<option
  
  value="ABW/Template-Toolkit-2.21_02"
>2.21_02 DEV
  (ABW on 2009-07-04)</option>
<option
  
  value="ABW/Template-Toolkit-2.21_01"
>2.21_01 DEV
  (ABW on 2009-07-04)</option>
<option
  
  value="ABW/Template-Toolkit-2.21"
>2.21
  (ABW on 2009-06-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_4"
>2.20_4 DEV
  (ABW on 2009-05-21)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_3"
>2.20_3 DEV
  (ABW on 2009-05-20)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_2"
>2.20_2 DEV
  (ABW on 2009-05-17)</option>
<option
  
  value="ABW/Template-Toolkit-2.20_1"
>2.20_1 DEV
  (ABW on 2009-04-07)</option>
<option
  
  value="ABW/Template-Toolkit-2.20"
>2.20
  (ABW on 2008-08-13)</option>
<option
  
  value="ABW/Template-Toolkit-2.00"
>2.00
  (ABW on 2000-12-06)</option>
<option
  
  value="ABW/Template-Toolkit-1.07"
>1.07
  (ABW on 2000-06-16)</option>
<optgroup label="BackPAN">'
<option
  
  value="ATOOMIC/Template-Toolkit-3.010"
>3.010
  (ATOOMIC on 2021-12-13)</option>
<option
  
  value="ABW/Template-Toolkit-2.19_03"
>2.19_03 DEV
  (ABW on 2008-08-12)</option>
<option
  
  value="ABW/Template-Toolkit-2.19_02"
>2.19_02 DEV
  (ABW on 2008-08-08)</option>
<option
  
  value="ABW/Template-Toolkit-2.19_01"
>2.19_01 DEV
  (ABW on 2008-08-07)</option>
<option
  
  value="ABW/Template-Toolkit-2.19"
>2.19
  (ABW on 2007-04-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.18"
>2.18
  (ABW on 2007-02-09)</option>
<option
  
  value="ADAMK/Template-Toolkit-2.17"
>2.17
  (ADAMK on 2007-02-08)</option>
<option
  
  value="ADAMK/Template-Toolkit-2.16"
>2.16
  (ADAMK on 2007-01-23)</option>
<option
  
  value="ABW/Template-Toolkit-2.15"
>2.15
  (ABW on 2006-05-26)</option>
<option
  
  value="ABW/Template-Toolkit-2.14"
>2.14
  (ABW on 2004-10-04)</option>
<option
  
  value="ABW/Template-Toolkit-2.13"
>2.13
  (ABW on 2004-01-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.12"
>2.12
  (ABW on 2004-01-12)</option>
<option
  
  value="ABW/Template-Toolkit-2.11"
>2.11
  (ABW on 2004-01-06)</option>
<option
  
  value="ABW/Template-Toolkit-2.10"
>2.10
  (ABW on 2003-07-24)</option>
<option
  
  value="ABW/Template-Toolkit-2.09"
>2.09
  (ABW on 2003-04-23)</option>
<option
  
  value="ABW/Template-Toolkit-2.08"
>2.08
  (ABW on 2002-07-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.07"
>2.07
  (ABW on 2002-04-17)</option>
<option
  
  value="ABW/Template-Toolkit-2.06d"
>2.06d
  (ABW on 2002-01-22)</option>
<option
  
  value="ABW/Template-Toolkit-2.06"
>2.06
  (ABW on 2001-11-07)</option>
<option
  
  value="ABW/Template-Toolkit-2.04"
>2.04
  (ABW on 2001-06-29)</option>
<option
  
  value="ABW/Template-Toolkit-2.03"
>2.03
  (ABW on 2001-06-15)</option>
<option
  
  value="ABW/Template-Toolkit-2.01"
>2.01
  (ABW on 2001-03-30)</option>
<option
  
  value="ABW/Template-Toolkit-2.00-beta5"
>2.00-beta5
  (ABW on 2000-09-14)</option>
<option
  
  value="ABW/Template-Toolkit-2.00-beta4"
>2.00-beta4
  (ABW on 2000-09-12)</option>
<option
  
  value="ABW/Template-Toolkit-1.06"
>1.06
  (ABW on 2000-03-28)</option>
<option
  
  value="ABW/Template-Toolkit-1.05"
>1.05
  (ABW on 2000-03-20)</option>
<option
  
  value="ABW/Template-Toolkit-1.04"
>1.04
  (ABW on 2000-03-02)</option>
<option
  
  value="ABW/Template-Toolkit-1.03"
>1.03
  (ABW on 2000-02-01)</option>
<option
  
  value="ABW/Template-Toolkit-1.02"
>1.02
  (ABW on 1999-12-21)</option>
<option
  
  value="ABW/Template-Toolkit-1.00"
>1.00
  (ABW on 1999-12-02)</option>
<option
  
  value="ABW/Template-Toolkit-0.28"
>0.28
  (ABW on 1999-11-05)</option>
<option
  
  value="ABW/Template-Toolkit-0.27"
>0.27
  (ABW on 1999-10-01)</option>
<option
  
  value="ABW/Template-Toolkit-0.26"
>0.26
  (ABW on 1999-09-15)</option>
<option
  
  value="ABW/Template-Toolkit-0.25"
>0.25
  (ABW on 1999-08-16)</option>
<option
  
  value="ABW/Template-Toolkit-0.24"
>0.24
  (ABW on 1999-08-12)</option>
<option
  
  value="ABW/Template-Toolkit-0.23"
>0.23
  (ABW on 1999-08-10)</option>
<option
  
  value="ABW/Template-Toolkit-0.22"
>0.22
  (ABW on 1999-08-06)</option>
</optgroup>
</select>
    <a data-keyboard-shortcut="g d" class="release-name" href="https://metacpan.org/dist/Template-Toolkit">Template-Toolkit-3.101</a>
  </div>
<span class="river-gauge-gauge">
  <svg width="24px"
       height="15px"
       version="1.1"
       xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink">

    <g>
      <title>        River stage three &#10;
          • 561 direct dependents &#10;          • 959 total dependents
      </title>

      <rect x="0"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="5"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="10"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="15"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="20"  y="0" width="4" height="15" fill="#e4e2e2" />
    </g>
  </svg>

</span>
<div id="Template-Toolkit-fav" class="logged_in">
<form action="https://metacpan.org/account/favorite/add" style="display: inline" onsubmit="return favDistribution(this)">
    <input type="hidden" name="remove" value="0">
    <input type="hidden" name="release" value="Template-Toolkit-3.101">
    <input type="hidden" name="author" value="ABW">
    <input type="hidden" name="distribution" value="Template-Toolkit">
    <button type="submit" class="favorite highlight"><span>144</span> ++</button>
</form>
</div>
<div class="logged_out">
<a href="./Template::Toolkit.html" onclick="alert('Please sign in to add favorites'); return false" class="favorite highlight">
<span>144</span> ++</a>
</div>
   / <span>Template::Toolkit</span>
</div>
          </div>
          <main class="content">


<nav class="toc">
  <div class="toc-header"><strong>Contents</strong></div>
<ul>
  <li><a href="./Template::Toolkit.html#NAME">NAME</a></li>
  <li><a href="./Template::Toolkit.html#Introduction">Introduction</a></li>
  <li><a href="./Template::Toolkit.html#Documentation">Documentation</a></li>
  <li><a href="./Template::Toolkit.html#Author">Author</a></li>
  <li><a href="./Template::Toolkit.html#Copyright">Copyright</a></li>
  <li><a href="./Template::Toolkit.html#See-Also">See Also</a></li>
</ul></nav>
<div class="pod anchors">
<h1 id="NAME">NAME</h1>

<p>Template::Toolkit - Template Processing System</p>

<h1 id="Introduction">Introduction</h1>

<p>The Template Toolkit is a collection of Perl modules which implement a fast, flexible, powerful and extensible template processing system.</p>

<p>It is &quot;input-agnostic&quot; and can be used equally well for processing any kind of text documents: HTML, XML, CSS, Javascript, Perl code, plain text, and so on. However, it is most often used for generating static and dynamic web content, so that&#39;s what we&#39;ll focus on here.</p>

<p>Although the Template Toolkit is written in Perl, you don&#39;t need to be a Perl programmer to use it. It was designed to allow non-programmers to easily create and maintain template-based web sites without having to mess around writing Perl code or going crazy with cut-n-paste.</p>

<p>However, the Template Toolkit is also designed to be extremely flexible and extensible. If you are a Perl programmer, or know someone who is, then you can easily hook the Template Toolkit into your existing code, data, databases and web applications. Furthermore, you can easily extend the Template Toolkit through the use of its plugin mechanism and other developer APIs.</p>

<p>Whatever context you use it in, the primary purpose of the Template Toolkit is to allow you to create a clear separation between the presentation elements of your web site and everything else.</p>

<p>If you&#39;re generating static web pages, then you can use it to separate the commonly repeated user interface elements on each page (headers, menus, footers, etc.) from the core content. If you&#39;re generating dynamic web pages for the front end of a web application, then you&#39;ll also be using it to keep the back-end Perl code entirely separate from the front-end HTML templates. Either way, a <i>clear separation of concerns</i> is what allow you to concentrate on one thing at a time without the other things getting in your way. And that&#39;s what the Template Toolkit is all about.</p>

<h1 id="Documentation">Documentation</h1>

<p>The documentation for the Template Toolkit is organised into five sections.</p>

<p>The <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Manual.pod">Template::Manual</a> contains detailed information about using the Template Toolkit. It gives examples of its use and includes a full reference of the template language, configuration options, filters, plugins and other component parts.</p>

<p>The <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Modules.pod">Template::Modules</a> page lists the Perl modules that comprise the Template Toolkit. It gives a brief explanation of what each of them does, and provides a link to the complete documentation for each module for further information. If you&#39;re a Perl programmer looking to use the Template Toolkit from your Perl programs then this section is likely to be of interest.</p>

<p>Most, if not all of the information you need to call the Template Toolkit from Perl is in the documentation for the <a href="Template.html">Template</a> module. You only really need to start thinking about the other modules if you want to extend or modify the Template Toolkit in some way, or if you&#39;re interested in looking under the hood to see how it all works.</p>

<p>The documentation for each module is embedded as POD in each module, so you can always use <code>perldoc</code> from the command line to read a module&#39;s documentation. e.g.</p>

<pre><code>    $ perldoc Template
    $ perldoc Template::Context
      ...etc...</code></pre>

<p>It&#39;s worth noting that all the other documentation, including the user manual is available as POD. e.g.</p>

<pre><code>    $ perldoc Template::Manual
    $ perldoc Template::Manual::Config
      ...etc...</code></pre>

<p>The <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Tools.pod">Template::Tools</a> section contains the documentation for <a href="https://metacpan.org/pod/tpage">Template::Tools::tpage</a> and <a href="https://metacpan.org/pod/ttree">Template::Tools::ttree</a>. These are two command line programs that are distributed with the Template Toolkit. <a href="https://metacpan.org/pod/distribution/Template-Toolkit/bin/tpage">tpage</a> is used to process a single template file, <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Tools/ttree.pod">ttree</a> for processing entire directories of template files.</p>

<p>The <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Tutorial.pod">Template::Tutorial</a> section contains two introductory tutorials on using the Template Toolkit. The first is <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Tutorial/Web.pod">Template::Tutorial::Web</a> on generating web content. The second is <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Tutorial/Datafile.pod">Template::Tutorial::Datafile</a> on using the Template Toolkit to generate other data formats including XML.</p>

<p>The final section of the manual is <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/FAQ.pod">Template::FAQ</a> which contains answers to some of the Frequently Asked Questions about the Template Toolkit.</p>

<p>You can read the documentation in HTML format either online at the Template Toolkit web site, <a href="http://template-toolkit.org/">http://template-toolkit.org/</a>, or by downloading the HTML version of the documentation from <a href="http://template-toolkit.org/download/index.html#html_docs">http://template-toolkit.org/download/index.html#html_docs</a> and unpacking it on your local machine.</p>

<h1 id="Author">Author</h1>

<p>The Template Toolkit was written by Andy Wardley (<a href="http://wardley.org/">http://wardley.org/</a> <a href="mailto:abw@wardley.org">mailto:abw@wardley.org</a>) with assistance and contributions from a great number of people. Please see <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Manual/Credits.pod">Template::Manual::Credits</a> for a full list.</p>

<h1 id="Copyright">Copyright</h1>

<p>Copyright (C) 1996-2022 Andy Wardley. All Rights Reserved.</p>

<p>This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.</p>

<h1 id="See-Also"><a id="See"></a>See Also</h1>

<p><a href="Template.html">Template</a>, <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Manual.pod">Template::Manual</a>, <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Modules.pod">Template::Modules</a>, <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Tools.pod">Template::Tools</a>, <a href="https://metacpan.org/pod/distribution/Template-Toolkit/lib/Template/Tutorial.pod">Template::Tutorial</a></p></div>

<div id="metacpan_install-instructions-dialog" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">Module Install Instructions</h4>
      </div>
      <div class="modal-body">
        <p>To install Template::Toolkit, copy and paste the appropriate command in to your terminal.</p>
        <p><a href="https://metacpan.org/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p>
        <pre><code>cpanm Template::Toolkit</code></pre>
        <p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
        <pre><code>perl -MCPAN -e shell
install Template::Toolkit</code></pre>
        <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p>
      </div>
      <div class="modal-footer">
        <a href="./Template::Toolkit.html#" data-dismiss="modal" class="btn">Close</a>
      </div>
    </div>
  </div>
</div>
          </main>
          <div class="content-pagination">
          </div>
        </div>
        <footer class="footer">
          <div class="footer-container">
            <div class="footer-social">
              <div class="footer-link footer-logo">
                <a href="https://metacpan.org/">
                  <img src="https://metacpan.org/static/images/metacpan-logo.svg" alt="MetaCPAN" />
                </a>
              </div>
              <a class="footer-social-link" href="https://github.com/metacpan">
                <i class="fab fa-github-square"></i>
              </a>
              <a class="footer-social-link" href="https://fosstodon.org/@metacpan">
                <i class="fab fa-mastodon"></i>
              </a>
            </div>
            <div class="footer-links">
              <div class="footer-link">
                  <a href="https://metacpan.org/about">About</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/sponsors">Sponsor</a>
              </div>
              <div class="footer-link">
                  <a href="https://grep.metacpan.org">grep::cpan</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/recent">Recent</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/faq">FAQ</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/tools">Tools</a>
              </div>
              <div class="footer-link">
                  <a href="https://fastapi.metacpan.org/">API</a>
              </div>
              <div class="footer-link">
                  <a href="https://www.perl.org/">Perl.org</a>
              </div>
            </div>
            <div class="footer-sponsors">
              <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener">
                <img class="footer-sponsor-bytemark" src="https://metacpan.org/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener">
                <img class="footer-sponsor-liquidweb" src="https://metacpan.org/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener">
                <img class="footer-sponsor-deriv" src="https://metacpan.org/static/images/sponsors/deriv.svg" alt="Deriv logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener">
                <img class="footer-sponsor-geocode" src="https://metacpan.org/static/images/sponsors/geocodelogo.svg" alt="Geocode logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener">
                <img class="footer-sponsor-fastly" src="https://metacpan.org/static/images/sponsors/fastly_logo.svg" alt="Fastly logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener">
                <img class="footer-sponsor-opencage" src="https://metacpan.org/static/images/sponsors/open-cage.svg" alt="OpenCage logo">
              </a>
            </div>
          </div>
        </footer>
        <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Keyboard Shortcuts</h4>
              </div>
              <div class="modal-body row">
<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Global</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>s</kbd>
        </td>
        <td>Focus search bar</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>?</kbd>
        </td>
        <td>Bring up this help dialog</td>
      </tr>
    </tbody>
  </table>

  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>GitHub</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>p</kbd>
        </td>
        <td>Go to pull requests</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>go to github issues (only if github is preferred repository)</td>
      </tr>
    </tbody>
  </table>
</div>

<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>POD</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>a</kbd>
        </td>
        <td>Go to author</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>c</kbd>
        </td>
        <td>Go to changes</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>Go to issues</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>d</kbd>
        </td>
        <td>Go to dist</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>r</kbd>
        </td>
        <td>Go to repository/SCM</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>s</kbd>
        </td>
        <td>Go to source</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>b</kbd>
        </td>
        <td>Go to file browse</td>
      </tr>

    </tbody>
  </table>
</div>

<div class="col-md-12">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Search terms</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><em>module:</em> (e.g. <a href="https://metacpan.org/search?q=module%3APlugin">module:Plugin</a>)</td>
      </tr>
      <tr>
        <td><em>distribution:</em> (e.g. <a href="https://metacpan.org/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td>
      </tr>
      <tr>
        <td><em>author:</em> (e.g. <a href="https://metacpan.org/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td>
      </tr>
      <tr>
        <td><em>version:</em> (e.g. <a href="https://metacpan.org/search?q=version%3A1.00">version:1.00</a>)</td>
      </tr>
    </tbody>
  </table>
</div>
              </div>
              <div class="modal-footer"></div>
            </div>
          </div>
        </div>
    </body>
</html>
